package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

@Mapper
public interface NursingProjectMapper {
    public Page<NursingProject> getByPage(String name, Integer pageNum, Integer pageSize, Integer status);

    void add(NursingProject bean);

    NursingProject getById(Long id);

    void update(NursingProject bean);

    void delete(Long id);

    void updateStatus(Long id, Integer status);

    List<NursingProjectVo> queryAll();
}
